package com.example.club.clubmanage.model;

/**
 * Created by chenguojun on 2017/3/31.
 */

public class UserDto extends BaseDto {

    private int id; // 用户基本信息ID
    private String token; // 客户端唯一码,用于校验用户信息是否有效 可空

    private String loginName; // 收费员登录用户名
    private String realName; // 真实姓名 可空
    private String mobile; // 手机号
    private int sex; // 性别:0男，1女
    private String nickName; // 昵称 可空
    private String signature; // 个性签名 可空
    private String avatarPic; // 用户头像url 可空
    private String email; // 邮箱 可空
    private String address; // 地址 可空
    private String regCity; // 注册城市(中文)
    private String regCityNo; // 注册城市(编码)

    private String wxOpenid; // 微信服务号openid 可空
    private String wxNickname; // 微信昵称 可空
    private int realNameStatus; // 实名认证状态 0 未认证 1 认证中 2 认证通过 3认证失败
    private String realNameNopassReason; // 实名认证不通过原因
    private long realNameCommitTime; // 实名提交时间 可空
    private long realNameAuditTime; // 实名认证时间 可空

    private String referrer; // 推荐人 可空

    private int frozenAmount; // 冻结金额 单位分
    private int accountStatus; // 账户状态 冻结/启用 单位分


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getAvatarPic() {
        return avatarPic;
    }

    public void setAvatarPic(String avatarPic) {
        this.avatarPic = avatarPic;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRegCity() {
        return regCity;
    }

    public void setRegCity(String regCity) {
        this.regCity = regCity;
    }

    public String getRegCityNo() {
        return regCityNo;
    }

    public void setRegCityNo(String regCityNo) {
        this.regCityNo = regCityNo;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getWxOpenid() {
        return wxOpenid;
    }

    public void setWxOpenid(String wxOpenid) {
        this.wxOpenid = wxOpenid;
    }

    public String getWxNickname() {
        return wxNickname;
    }

    public void setWxNickname(String wxNickname) {
        this.wxNickname = wxNickname;
    }

    public int getRealNameStatus() {
        return realNameStatus;
    }

    public void setRealNameStatus(int realNameStatus) {
        this.realNameStatus = realNameStatus;
    }

    public String getRealNameNopassReason() {
        return realNameNopassReason;
    }

    public void setRealNameNopassReason(String realNameNopassReason) {
        this.realNameNopassReason = realNameNopassReason;
    }

    public long getRealNameCommitTime() {
        return realNameCommitTime;
    }

    public void setRealNameCommitTime(long realNameCommitTime) {
        this.realNameCommitTime = realNameCommitTime;
    }

    public long getRealNameAuditTime() {
        return realNameAuditTime;
    }

    public void setRealNameAuditTime(long realNameAuditTime) {
        this.realNameAuditTime = realNameAuditTime;
    }



    public String getReferrer() {
        return referrer;
    }

    public void setReferrer(String referrer) {
        this.referrer = referrer;
    }



    public int getFrozenAmount() {
        return frozenAmount;
    }

    public void setFrozenAmount(int frozenAmount) {
        this.frozenAmount = frozenAmount;
    }

    public int getAccountStatus() {
        return accountStatus;
    }

    public void setAccountStatus(int accountStatus) {
        this.accountStatus = accountStatus;
    }


    @Override
    public String toString() {
        return "UserDto{" +
            "id=" + id +
            ", loginName='" + loginName + '\'' +
            ", realName='" + realName + '\'' +
            ", mobile='" + mobile + '\'' +
            ", sex=" + sex +
            ", nickName='" + nickName + '\'' +
            ", signature='" + signature + '\'' +
            ", avatarPic='" + avatarPic + '\'' +
            ", email='" + email + '\'' +
            ", address='" + address + '\'' +
            ", regCity='" + regCity + '\'' +
            ", regCityNo='" + regCityNo + '\'' +

            ", wxOpenid='" + wxOpenid + '\'' +
            ", wxNickname='" + wxNickname + '\'' +
            ", realNameStatus=" + realNameStatus +
            ", realNameNopassReason='" + realNameNopassReason + '\'' +
            ", realNameCommitTime=" + realNameCommitTime +
            ", realNameAuditTime=" + realNameAuditTime +

            ", referrer='" + referrer + '\'' +
            ", frozenAmount=" + frozenAmount +
            ", accountStatus=" + accountStatus +
            '}' + super.toString();
    }
}
